package cn.icanci.loopstack.bic.web.model;

import lombok.Data;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/10 15:18
 */
@Data
public class Base {
    /** mongodb id */
    private String  id;
    /** 雪花算法随机UUID  */
    private String  uuid;
    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date    createTime;
    /** 更新时间  */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date    updateTime;
    /** 状态 false 有效，true 无效 */
    private boolean deleted;
    /** 环境 */
    private String  env;
}
